package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 笔记评论对象 t_note_comment
 * 
 * @author ruoyi
 * @date 2025-09-24
 */
public class TNoteComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 笔记评论ID */
    private Long noteCommentId;

    /** 评论者ID */
    @Excel(name = "评论者ID")
    private Long userId;

    /** 笔记ID */
    @Excel(name = "笔记ID")
    private Long noteId;

    /** 笔记评论内容 */
    @Excel(name = "笔记评论内容")
    private String noteContent;

    /** 笔记评论时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "笔记评论时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date noteContentTime;

    public void setNoteCommentId(Long noteCommentId) 
    {
        this.noteCommentId = noteCommentId;
    }

    public Long getNoteCommentId() 
    {
        return noteCommentId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setNoteId(Long noteId) 
    {
        this.noteId = noteId;
    }

    public Long getNoteId() 
    {
        return noteId;
    }

    public void setNoteContent(String noteContent) 
    {
        this.noteContent = noteContent;
    }

    public String getNoteContent() 
    {
        return noteContent;
    }

    public void setNoteContentTime(Date noteContentTime) 
    {
        this.noteContentTime = noteContentTime;
    }

    public Date getNoteContentTime() 
    {
        return noteContentTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("noteCommentId", getNoteCommentId())
            .append("userId", getUserId())
            .append("noteId", getNoteId())
            .append("noteContent", getNoteContent())
            .append("noteContentTime", getNoteContentTime())
            .toString();
    }
}
